<?php $shemei=dr_site_value('shemei');?>

<footer class="footer-middle">
    <div class="footer-content">
        <div class="footer-main">
            <div class="item footer-contactus">
                <div class="footer-static-block">
                    <div class="th"><a href="contact-us.html">{usu_fanyi("Contact Us", $language)}</a></div>
                    <ul class="footer-block-contant">
                        <li><label><i class="iconfont">&#xe60b;</i></label> <a href="">{$dizhi}</a></li>
                        <li><label><i class="iconfont">&#xe651;</i></label> <a href="mailto:{$youxiang}">{$youxiang}</a> </li>
                        <li><label><i class="iconfont">&#xe61b;</i></label> <a href="tel:{$dianhua}">{$dianhua}</a></li>
                    </ul>
                </div>
            </div>
            <div class="item key-words">
                <div class="footer-static-block">
                    <div class="th"><span>{usu_fanyi("Menu", $language)}</span></div>
                    <ul class="footer-block-contant">
                        {category module=share pid=0}
                        <li><i></i><a href="{$t.url}">{usu_fanyi($t.name, $language)}</a></li>
                        {/category}
                    </ul>
                </div>
            </div>
            <div class="item key-words">
                <div class="footer-static-block">
                    <div class="th"><span>{usu_fanyi("PRODUCTS", $language)}</span></div>
                    <ul class="footer-block-contant">
                        {category module=share pid=1}
                        <li><i></i><a href="{$t.url}">{usu_fanyi($t.name, $language)}</a></li>
                        {/category}
                    </ul>
                </div>
            </div>
            <div class="item index-certificate">
                <div class="footer-static-block">
                    <div class="th"><a href="certificate.html">{usu_fanyi("CERTIFICATE", $language)}</a></div>
                    <!--index-links-->
                    <div class="index-certificate-c">
                        <div id="roll-img4" class="owl-carousel align_center">
                            <?php if ($zhengshu) { $key=0; foreach ($zhengshu as $c) { ?>
                            <div class="index-certificate-box">
                                <a href="{dr_get_file($c)}" title="{usu_fanyi('CERTIFICATE', $language)}"><img src="{dr_get_file($c)}" alt="{usu_fanyi('CERTIFICATE', $language)}"></a></div>
                            <?php $key++;} } ?>
                        </div>
                    </div>
                    <!--index-links end-->
                </div>
            </div>
        </div>

    </div>
    <div class="footer-secondary">
        <div class="footer-secondary-box">
            <div class="social-link">
                <?php if ($shemei) { $key=0; foreach ($shemei as $v) { ?>
                <a href="{$v[2]}">
                    <img src="{dr_get_file($v[3])}" alt="{$v[1]}">
                </a>
                <?php  $key++; } } ?>
            </div>
            <p>{SITE_ICP}</p>
        </div>
    </div>
</footer>
<!-- END FOOTER -->
</div>
</div>

<!--begin::Javascript-->
<script>var hostUrl = "{HOME_THEME_PATH}pc/";</script>
<!--begin::Global Javascript Bundle(mandatory for all pages)-->
<script src="{HOME_THEME_PATH}pc/plugins/global/plugins.bundle.js"></script>
<script src="{HOME_THEME_PATH}pc/js/scripts.bundle.js"></script>
<!--end::Global Javascript Bundle-->
<script src="{HOME_THEME_PATH}pc/js/jquery-1.12.3.min.js"></script>
<!--动态加载-->
<script src="{HOME_THEME_PATH}pc/js/wow.js" id="WOW"></script>
<script>
    new WOW().init();
</script>
<!--轮播图-->
<script src="{HOME_THEME_PATH}pc/js/owl.carousel.min.js"></script>
<script src="{HOME_THEME_PATH}pc/js/custom.js"></script>

<!--菜单栏js-->
<!-- SmartMenus jQuery plugin -->
<script type="text/javascript" src="{HOME_THEME_PATH}pc/js/jquery.smartmenus.js"></script>
<!-- SmartMenus jQuery init -->
<script type="text/javascript">
    // SmartMenus init
    $(function() {
        $('#main-menu').smartmenus({
            subMenusSubOffsetX: 1,
            subMenusSubOffsetY: -8
        });
    });

    // SmartMenus mobile menu toggle button
    $(function() {
        var $mainMenuState = $('#main-menu-state');
        if ($mainMenuState.length) {
            // animate mobile menu
            $mainMenuState.change(function(e) {
                var $menu = $('#main-menu');
                if (this.checked) {
                    $menu.hide().slideDown(250, function() { $menu.css('display', ''); });
                } else {
                    $menu.show().slideUp(250, function() { $menu.css('display', ''); });
                }
            });
            // hide mobile menu beforeunload
            $(window).bind('beforeunload unload', function() {
                if ($mainMenuState[0].checked) {
                    $mainMenuState[0].click();
                }
            });
        }
    });
</script>
<!--导航栏置顶固定-->
<script>
    $(function() {
        var ie6 = document.all;
        var dv = $('#fixedMenu'),
            st;
        dv.attr('otop', dv.offset().top); //存储原来的距离顶部的距离 
        $(window).scroll(function() {
            st = Math.max(document.body.scrollTop || document.documentElement.scrollTop);
            if (st > parseInt(dv.attr('otop'))) {
                if (ie6) { //IE6不支持fixed属性，所以只能靠设置position为absolute和top实现此效果 
                    dv.css({
                        position: 'absolute',
                        top: st
                    });
                } else if (dv.css('position') != 'fixed') dv.css({
                    'position': 'fixed',
                    top: 0
                });
                dv.addClass("top-fixed")
                $('.inner-page-main').addClass("mh")
            } else if (dv.css('position') != 'static'){
                dv.css({
                    'position': 'static'
                });
                dv.removeClass("top-fixed")
                $('.inner-page-main').removeClass("mh")
            }
        });
    });
</script>
<!--banner-->
<script src="{HOME_THEME_PATH}pc/js/jquery.flexslider-min.js"></script>
<script type="text/javascript">
    $('.flexslider').flexslider();
</script>

<!--返回顶部-->
<script type="text/javascript">
    $(function () {
        showScroll();
        function showScroll() {
            $(window).scroll(function () {
                var scrollValue = $(window).scrollTop();
                scrollValue > 100 ? $('div[class=scroll]').fadeIn() : $('div[class=scroll]').fadeOut();
            });
            $('#scroll').click(function () {
                $("html,body").animate({scrollTop: 0}, 200);
            });
        }
    })
</script>
<!--产品折叠列表-->
<script type="text/javascript" src="{HOME_THEME_PATH}pc/js/sidebar-product.js"></script>

<!--产品详情页图片展示-->
<script type="text/javascript" src="{HOME_THEME_PATH}pc/js/product_slide.js"></script>
<script type="text/javascript">
    console.log($('.ps-current [class^="elt"]').length)
    $('.ps-current [class^="elt"]').zoom()
</script>
<script type="text/javascript" src="{HOME_THEME_PATH}pc/js/jquery.lightbox-0.5.js"></script>
<script>
    $('.ps-current a').lightBox();
</script>
<script src="{HOME_THEME_PATH}pc/js/jquery.fancybox.min.js"></script>
<!--end::Javascript-->
</body>
<!--end::Body-->
</html>